package com.chenqi.myblog.service;

import com.chenqi.myblog.model.Comment;

import java.util.List;

/**
 * @description:
 * @program: myblog
 * @author: ChenQi
 * @create: 2021-02-2021/2/5-20-13
 */
public interface CommentService {

    /**
     * 查找留言通过博客id
     * @param id
     * @return
     */
    List<Comment> findCommentByBlogId(Integer id);

    /**
     * 新增留言
     * @param comment
     */
    void saveComment(Comment comment);
}
